module.exports = function(sequelize, DataTypes) {
  return sequelize.define("user_info",
    {
      id: {
        type: DataTypes.INTEGER,
        allowNull: false,
        unique: true,
        primaryKey: true,
        autoIncrement: true
      },
      uid: DataTypes.INTEGER,
      user_img: DataTypes.STRING,
      nickname: DataTypes.STRING,
      phone: DataTypes.STRING,
      create_at: DataTypes.STRING,
      update_at: DataTypes.STRING
    },
    {
      underscored: true,
      freezeTableName: true,
      createdAt: false,
      updatedAt: false
    }
  );
};
